package cn.gson.springboot.model.mapper;

import cn.gson.springboot.model.pojos.ApprovalRecord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("appRecordMapper")
public interface ApprovalRecordMapper {
    public List<ApprovalRecord> selectAllAppRecordByQuoId(Integer quoId);

    public ApprovalRecord selectAppRecordByQuoAppId(Integer quoId);

    public List<ApprovalRecord> selectAllAppRecordByBusId(Integer businessId);

    public ApprovalRecord selectAppRecordByBusAppId(Integer businessId);

    public List<ApprovalRecord> selectAllAppRecordByPurId(Integer purId);

    public ApprovalRecord selectAppRecordByPurAppId(Integer purId);

    public List<ApprovalRecord> selectAllAppRecordByConId(Integer conId);

    public ApprovalRecord selectAppRecordByConAppId(Integer conId);

    public List<ApprovalRecord> selectAllAppRecordByPayId(Integer payId);

    public ApprovalRecord selectAppRecordByPayAppId(Integer payId);

    public List<ApprovalRecord> selectAllAppRecordByContractId(Integer contractId);

}
